#ifndef __LCD_H__
#define __LCD_H__

//保存执行 帧缓存内存的首地址
extern int *plcd;
#define RED   0x00FF0000
#define GREEN 0x0000FF00
#define BLUE  0x000000FF
#define WHITE 0xFFFFFFFF
#define BLACK 0

int init_lcd(void);

void LCD_Draw_16x16(int x0, int y0, unsigned char p[],int color);
void LCD_Draw_8x16(int x0, int y0, unsigned char p[],int color);

void LCD_Draw_Point(int x, int y, int color);

void LCD_Brush(int color);

void LCD_Draw_circle(int x0, int y0, int r, int color);




void LCD_Draw_picture(int x0, int y0, int width, int height, unsigned char image[]);
int LCD_Draw_bmp(int x0,int y0, char *bmpfile);
void lcd_draw_digit(int value,int x0, int y0, int color);
void lcd_draw_word(char *ch, int len, int w, int color, int x0, int y0);
void lcd_draw_bmp(char *file, int w, int h, int x0, int y0);

#endif

